package conson.tech.manage.scene.vo.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Description: TODO
 * @author: yuwenshuo
 * @since: 2020-07-02 09:43
 */

@Data
public class PageRequest implements Serializable {

    @ApiModelProperty(value = "当前页",example = "当前页")
    @NotNull(message = "当前页不能为空")
    private int pageIndex;
    @ApiModelProperty(value = "每页数量",example = "每页数量")
    @NotNull(message = "每页数量不能为空")
    private long size;
}
